setUseNativeRendering

open fun setUseNativeRendering(useNativeRendering: Boolean)

Sets the rendering mode for this TextView.

Switches between native Android rendering (using androidx.appcompat.widget.AppCompatTextView) and downloading a pre-rendered image (using ImageView). Calling this method will re-initialize the view to reflect the chosen mode, clearing any existing content and recreating the necessary child views.

Parameters

useNativeRendering

true to use native Android text rendering, false to download and display a rendered image of the text.